package com.situ.entity;

import com.alibaba.fastjson.JSONObject;
import java.util.*;
import java.time.*;
/**
 * PY_SumReport实体类
 * 
 * @author 
 *
 */
public class PySumreport {
	/***/
	private Object ID; 
	/***/
	private Integer Typee; 
	/***/
	private Integer ReportYear; 
	/***/
	private Integer ReportMonth; 
	/***/
	private Integer LineNo; 
	/***/
	private String C1; 
	/***/
	private String C2; 
	/***/
	private String C3; 
	/***/
	private String C4; 
	/***/
	private String C5; 
	/**
	 * 实例化
	 */
	public PySumreport() {
		super();
	}
	/**
	 * 实例化
	 * 
	 * @param obj
	 */
	public PySumreport(JSONObject obj) {
		this();
		this.setID(obj.get("ID"));
		if (obj.get("Typee") instanceof Number) {
			this.setTypee(((Number) obj.get("Typee")).intValue());
		}
		if (obj.get("ReportYear") instanceof Number) {
			this.setReportYear(((Number) obj.get("ReportYear")).intValue());
		}
		if (obj.get("ReportMonth") instanceof Number) {
			this.setReportMonth(((Number) obj.get("ReportMonth")).intValue());
		}
		if (obj.get("LineNo") instanceof Number) {
			this.setLineNo(((Number) obj.get("LineNo")).intValue());
		}
		if (obj.get("C1") instanceof String) {
			this.setC1((String) obj.get("C1"));
		}
		if (obj.get("C2") instanceof String) {
			this.setC2((String) obj.get("C2"));
		}
		if (obj.get("C3") instanceof String) {
			this.setC3((String) obj.get("C3"));
		}
		if (obj.get("C4") instanceof String) {
			this.setC4((String) obj.get("C4"));
		}
		if (obj.get("C5") instanceof String) {
			this.setC5((String) obj.get("C5"));
		}
	}
	
	/**
	 * 将当前对象转换为JsonObject
	 * 
	 * @return
	 */
	public JSONObject toJson() {
		JSONObject result = new JSONObject();
		if (this.getID() != null) {
			result.put("ID",this.getID());
		}
		if (this.getTypee() != null) {
			result.put("Typee",this.getTypee());
		}
		if (this.getReportYear() != null) {
			result.put("ReportYear",this.getReportYear());
		}
		if (this.getReportMonth() != null) {
			result.put("ReportMonth",this.getReportMonth());
		}
		if (this.getLineNo() != null) {
			result.put("LineNo",this.getLineNo());
		}
		if (this.getC1() != null) {
			result.put("C1",this.getC1());
		}
		if (this.getC2() != null) {
			result.put("C2",this.getC2());
		}
		if (this.getC3() != null) {
			result.put("C3",this.getC3());
		}
		if (this.getC4() != null) {
			result.put("C4",this.getC4());
		}
		if (this.getC5() != null) {
			result.put("C5",this.getC5());
		}
		return result;
	}
	
	
	/**
	 * 获取ID
	 * 
	 * @return
	 */
	public Object getID() {
		return ID;
	}

	/**
	 * 设置ID
	 * 
	 * @param ID
	 */
	public void setID(Object ID) {
		this.ID = ID;
	}
	
	/**
	 * 获取Typee
	 * 
	 * @return
	 */
	public Integer getTypee() {
		return Typee;
	}

	/**
	 * 设置Typee
	 * 
	 * @param Typee
	 */
	public void setTypee(Integer Typee) {
		this.Typee = Typee;
	}
	
	/**
	 * 获取ReportYear
	 * 
	 * @return
	 */
	public Integer getReportYear() {
		return ReportYear;
	}

	/**
	 * 设置ReportYear
	 * 
	 * @param ReportYear
	 */
	public void setReportYear(Integer ReportYear) {
		this.ReportYear = ReportYear;
	}
	
	/**
	 * 获取ReportMonth
	 * 
	 * @return
	 */
	public Integer getReportMonth() {
		return ReportMonth;
	}

	/**
	 * 设置ReportMonth
	 * 
	 * @param ReportMonth
	 */
	public void setReportMonth(Integer ReportMonth) {
		this.ReportMonth = ReportMonth;
	}
	
	/**
	 * 获取LineNo
	 * 
	 * @return
	 */
	public Integer getLineNo() {
		return LineNo;
	}

	/**
	 * 设置LineNo
	 * 
	 * @param LineNo
	 */
	public void setLineNo(Integer LineNo) {
		this.LineNo = LineNo;
	}
	
	/**
	 * 获取C1
	 * 
	 * @return
	 */
	public String getC1() {
		return C1;
	}

	/**
	 * 设置C1
	 * 
	 * @param C1
	 */
	public void setC1(String C1) {
		this.C1 = C1;
	}
	
	/**
	 * 获取C2
	 * 
	 * @return
	 */
	public String getC2() {
		return C2;
	}

	/**
	 * 设置C2
	 * 
	 * @param C2
	 */
	public void setC2(String C2) {
		this.C2 = C2;
	}
	
	/**
	 * 获取C3
	 * 
	 * @return
	 */
	public String getC3() {
		return C3;
	}

	/**
	 * 设置C3
	 * 
	 * @param C3
	 */
	public void setC3(String C3) {
		this.C3 = C3;
	}
	
	/**
	 * 获取C4
	 * 
	 * @return
	 */
	public String getC4() {
		return C4;
	}

	/**
	 * 设置C4
	 * 
	 * @param C4
	 */
	public void setC4(String C4) {
		this.C4 = C4;
	}
	
	/**
	 * 获取C5
	 * 
	 * @return
	 */
	public String getC5() {
		return C5;
	}

	/**
	 * 设置C5
	 * 
	 * @param C5
	 */
	public void setC5(String C5) {
		this.C5 = C5;
	}

	@Override
	public String toString() {
		return "PySumreport [ID=" + ID + " , Typee=" + Typee + " , ReportYear=" + ReportYear + " , ReportMonth=" + ReportMonth + " , LineNo=" + LineNo + " , C1=" + C1 + " , C2=" + C2 + " , C3=" + C3 + " , C4=" + C4 + " , C5=" + C5 + "  ]";
	
	}
	
	
}
